break
n = int(input("Enter a Number :")) for i in range(2,n) : if n%i==0 : break if i==n-1 : print("It is a Prime Number") else: print("It is NOT prime Number")
Enter a Number: 9 It is Not a prime Number Enter a Number: 17 It is a prime Number
continue
lst=["raja","rani","joker","chor","police","mantri"] for nm in lst : if nm=="chor" : continue print(nm , " is Clear ")
raja is Clear rani is Clear joker is Clear police is Clear mantri is Clear
city="Amravati" for ch in city : if ch=='a' or ch='A' : continue print(ch)
m r v t i
pass
lst=["raja","rani","joker","chor","police","mantri"] for item in lst : pass print("last item is ", item )
Last item is mantri
for n in range(5,11): for i in range(1,n): print(i, end=' ') print()
1234 12345 123456 1234567 12345678 123456789